package ua.lviv.franko.solvers.oneDimention;

import ua.lviv.franko.integration.IFunction1D;

public class EquationParameters {

	// protected String P;
	// protected String W;
	// protected String Q;
	// protected String F;

	public IFunction1D	p;
	public IFunction1D	w;
	public IFunction1D	q;
	public IFunction1D	f;

	public EquationParameters() {
		this.p = new IFunction1D() {

			@Override
			public double calculate(double x) {
				return 0.0;
			}

			@Override
			public double calculateDerivaty(double x) {

				return 0;
			}
		};

		this.w = new IFunction1D() {

			@Override
			public double calculate(double x) {
				return 0.0;
			}

			@Override
			public double calculateDerivaty(double x) {

				return 0;
			}
		};

		this.q = new IFunction1D() {

			@Override
			public double calculate(double x) {
				return 0.0;
			}

			@Override
			public double calculateDerivaty(double x) {

				return 0;
			}
		};

		this.f = new IFunction1D() {

			@Override
			public double calculate(double x) {
				return 0.0;
			}

			@Override
			public double calculateDerivaty(double x) {

				return 0;
			}
		};

	}

	public EquationParameters(final IFunction1D P, final IFunction1D W, final IFunction1D Q, final IFunction1D F) {
		// this.F = F;
		p = P;

		w = W;

		q = Q;

		f = F;

	}

	public void setF(final IFunction1D f) {
		this.f = f;
	}

	public void setP(final IFunction1D p) {
		this.p = p;
	}

	public void setQ(final IFunction1D q) {
		this.q = q;
	}

	public void setW(final IFunction1D w) {
		this.w = w;
	}

}
